<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
    div{width: 300px;height: 300px;
    background: lightseagreen url(./111\ \(4\).jpg) no-repeat center;
    border: 5px black solid; /* 也可以给某一条边添加符合样式 */
    font: bold italic 30px/40px 宋体  ; }
    </style>
</head>
<body>
    <div>
这是一段文字
    </div>
</body>
</html>